package study.java.jvm.controller.gc;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import study.kit.eggs.result.Result;
import study.kit.eggs.result.Results;

@Slf4j
@RestController
@RequestMapping("/gc")
public class GcController {

    @RequestMapping("/minorGc")
    public Result minorGc() {
        return Results.ok();
    }

    @RequestMapping("/majorGc")
    public Result majorGc() {
        return Results.ok();
    }

    @RequestMapping("/fullGc")
    public Result fullGc() {
        return Results.ok();
    }
}
